import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import iView from 'view-design'
import config from '@/config'
import importDirective from '@/directive'
import installPlugin from '@/plugin'
import 'iview/dist/styles/iview.css'
import './index.less'
import '@/assets/icons/iconfont.css'
import can from '@/directive/can/index'
import VJstree from 'vue-jstree'

Vue.use(VJstree)
Vue.use(iView)
installPlugin(Vue)
Vue.config.productionTip = false
Vue.prototype.$config = config
importDirective(Vue)
Vue.use(can)

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
